import Mock from 'mockjs';
const count = 100;

let memberTableList = [];
let advertisingPositionList = [];
let merchantAdvertisementList = [];
let advertisingPositionOrderList = [];
let advertisingLaunchDateList = [];

let msgTempLateList = [];
let imgOrTxtList = [];
let signatureList = [];
let Details = {
    state:'1',
    time:'2019-12-03',
    productName: '洋柿子就是西红柿',
    productType: '电子产品',
    productNo: 12121,
    price: 4990,
    shelfState: '已上架',
    searchKey: '值得买、早下手',
    recommend: '这件商品是真的好',
    brand: '夕阳红',
    specsData: [
        {
            specsName: '黑色',
            uuid: 'SKU00004',
            isDefault: true,
            stock: 6,
            marketPrice: 4999.0,
            price: 4999.0
        },
        {
            specsName: '紫色',
            uuid: 'SKU00004',
            stock: 6,
            marketPrice: 4999.01,
            price: 4999.02
        },
        {
            specsName: '绿色',
            uuid: 'SKU00004',
            stock: 6,
            marketPrice: 4999.01,
            price: 4999.02
        }
    ],
    shopTimeData: [
        {
            attrName: '一号技师',
            uuid: 'SKU00004',
            stock: 6,
            time: '10:00-16:00'
        },
        {
            attrName: 'er号技师',
            uuid: 'SKU00004',
            stock: 6,
            time: '10:00-16:00'
        },
        {
            attrName: 'san号技师',
            uuid: 'SKU00004',
            stock: 6,
            time: '10:00-16:00'
        }
    ],
    productImages: [
        {
            url:
                'https://dev-file.iviewui.com/userinforaP8NeQgYpmKgkpWlqZP7rfewbHiIzJY/avatar',
            name: '', // 图片/视频名称
            type: 'img', // 类型: img-图片（默认） video：视频
            corner: '主图' // 是否有角标
        },
        {
            url:
                'https://dev-file.iviewui.com/BbnuuEiM0QXNPHVCvb3E2AFrawIjCkqW/avatar',
            name: '', // 图片/视频名称
            type: '', // 类型: img-图片（默认） video：视频
            corner: '' // 是否有角标
        }
    ],
    productVideos: [
        {
            url: 'https://www.w3school.com.cn/i/movie.ogg',
            name: '', // 图片/视频名称
            type: 'video', // 类型: img-图片（默认） video：视频
            vType: '', // 视频类型
            corner: '' // 是否有角标
        },
        {
            url:
                'https://image.mux.com/UZMwOY6MgmhFNXLbSFXAuPKlRPss5XNA/thumbnail.jpg?time=11',
            name: '', // 图片/视频名称
            type: '', // 类型: img-图片（默认） video：视频
            corner: '封面' // 是否有角标
        }
    ],
    productDesc:
        '<p>这里上商品信息，这里上商品信息，这里上商品信息，这里上商品信息，这里上商品信息，这里上商品信息，这里上商品信息，这里上商品信息，这里上商品信息，</p><img src="https://dev-file.iviewui.com/userinforaP8NeQgYpmKgkpWlqZP7rfewbHiIzJY/avatar" />'
}
let DetailsVideo = {
    state:'1',
    time:'2019-12-03',
    productDesc:
        '<p>这里上商品信息，这里上商品信息，这里上商品信息，这里上商品信息，这里上商品信息，这里上商品信息，这里上商品信息，这里上商品信息，这里上商品信息，</p>' +
        '<video  src="https://media.w3.org/2010/05/sintel/trailer.mp4" controls="controls"></video>'
};
for (let i = 0; i < count; i++) {
    memberTableList.push(Mock.mock({
        'uuid': '@increment()', // 必须项
        memberId: 'm0000001',
        kehu: '@cname',
        address: '@province @city @county',
        'qycard|1': ['88Vip', '66Vip', '99Vip'],
        'point|+1': 12121,
        czmoney: '@increment(1)',
        buyNum: 345,
        xfMoney: 1383,
        releaseTime: '@date(yyyy-MM-dd)', // data选择范围是 是数组形式 如：['2019-12-13,2019-12-13]
        'brandLogo|1': [ // 默认列表 同iview组件的 defaultList
            [{
                name: '小头1', // 图片name
                url: 'https://dev-file.iviewui.com/BbnuuEiM0QXNPHVCvb3E2AFrawIjCkqW/avatar' // 图片url
            }],
            [{
                name: '小头像', // 图片name
                url: 'https://dev-file.iviewui.com/userinforaP8NeQgYpmKgkpWlqZP7rfewbHiIzJY/avatar' // 图片url
            }]
        ],
        'area|1': [
            ['beijing', 'tiantan']
        ],
        'isRelease|1': ['0', '1'],
        'relationShops|1': [
            ['0', '1'],
            ['0', '2'],
            ['0', '3'],
            ['1', '2'],
            ['1', '3'],
            ['2', '3']
        ],
        'descInfo|10-20': '@cname',
        'actions|1': [

            [
                {
                    name: 'show',
                    label: '审核',
                    handleType: 'link'
                }, {
                    name: 'show',
                    label: '编辑',
                    handleType: 'link'
                }, {
                    name: 'show',
                    label: '投放',
                    handleType: 'link'
                }, {
                    name: 'show',
                    label: '设置投放渠道',
                    handleType: 'link'
                }
            ], [
                {
                    name: 'show',
                    label: '审核',
                    handleType: 'link'
                }
            ], [
                {
                    name: 'show',
                    label: '审核',
                    handleType: 'link'
                }
            ], [
                {
                    name: 'show',
                    label: '审核',
                    handleType: 'link'
                }
            ]
        ]
    }))
    advertisingPositionList.push(Mock.mock({
        'uuid': '@increment()', // 必须项
        'name': '@word',
        'page': '首页',
        'position|1': ['轮播广告', '左侧广告'],
        'startTime': '@date(yyyy-MM-dd)',
        'endTime': '@date(yyyy-MM-dd)',
        'area': '北京',
        'price': '1000',
        'state': '待发布',
        'createOpeTime': '@date(yyyy-MM-dd)',
        'actions|1': [
            [
                {
                    name: 'Edit',
                    label: '编辑',
                    handleType: 'link'
                }, {
                    name: 'Fabu',
                    label: '发布',
                    handleType: 'link'
                }
            ]
        ]
    }))
    advertisingLaunchDateList.push(Mock.mock({
        'uuid': '@increment()', // 必须项
        'name': '@word',
        'page': '首页',
        'position|1': ['轮播广告', '左侧广告'],
        'startTime': '@date(yyyy-MM-dd)',
        'endTime': '@date(yyyy-MM-dd)',
        'area': '北京',
        'price': '1000',
        'state': '待发布',
        'createOpeTime': '@date(yyyy-MM-dd)',
        'actions|1': [
            [
                {
                    name: 'Edit',
                    label: '编辑',
                    handleType: 'link'
                }, {
                name: 'Fabu',
                label: '发布',
                handleType: 'link'
            }
            ]
        ]
    }))

    merchantAdvertisementList.push(Mock.mock({
        'uuid': '@increment()', // 必须项
        'name': '@word',
        'page': '首页',
        'position|1': ['轮播广告', '左侧广告'],
        'startTime': '@date(yyyy-MM-dd)',
        'endTime': '@date(yyyy-MM-dd)',
        'area': '北京',
        'price': '1000',
        'state': '待发布',
        'storeName': '@word',
        'createOpeTime': '@date(yyyy-MM-dd)',
        'actions|1': [
            [
                {
                    name: 'Show',
                    label: '查看',
                    handleType: 'link'
                }
            ]
        ]
    }))
    advertisingPositionOrderList.push(Mock.mock({
        'uuid': '@increment()', // 必须项
        'orderId': 'ORDER10000' + i,
        'name': '@word',
        'page': '首页',
        'position|1': ['轮播广告', '左侧广告'],
        'startTime': '@date(yyyy-MM-dd)',
        'endTime': '@date(yyyy-MM-dd)',
        'area': '北京',
        'price': '1000',
        'state': '待发布',
        'storeName': '@word',
        'createOpeTime': '@date(yyyy-MM-dd)',
        'actions|1': [
            [
                {
                    name: 'View',
                    label: '查看',
                    handleType: 'link'
                }
            ]
        ]
    }))

    msgTempLateList.push(Mock.mock({
        'uuid': '@increment()', // 必须项
        'modelId': '@increment()',
        'title': '@word',
        'state': '已启用',
        'brand|1': ['付款通知', '发放优惠券'],
        'sig': '工品通',
        'type': '交易提醒',
        'content': '北京',
        'money': '1000',
        'createOpeTime': '@date(yyyy-MM-dd)',
        'actions|1': [
            [
                {
                    name: 'Edit',
                    label: '编辑',
                    handleType: 'link'
                }, {
                    name: 'Prohibit',
                    label: '禁用',
                    handleType: 'alert'
                }, {
                    name: 'Touf',
                    label: '投放',
                    handleType: 'confirm'
                }, {
                    name: 'Setting',
                    label: '设置投放渠道',
                    handleType: 'confirm'
                }
            ]
        ]
    }))
    imgOrTxtList.push(Mock.mock({
        'uuid': '@increment()', // 必须项
        'content': '@word',
        'position': '平台动态',
        'name': '@word',
        'state|1': ['待审核', '审核通过'],
        'actions|1': [
            [
                {
                    name: 'Show',
                    label: '审核',
                    handleType: 'link'
                }
            ]
        ]
    }))
    signatureList.push(Mock.mock({
        'uuid': '@increment()', // 必须项
        'customer': '@cname',
        'sign': '@word',
        'state|1': ['已审核', '未审核'],
        'actions|1': [
            [
                {
                    name: 'Audit',
                    label: '审核',
                    handleType: 'confirm'
                }
            ]
        ]
    }))
}

export default [
    {
        path: '/api/getContentModelList',
        method: 'get',
        handle ({ body }) {
            const start = body.pageInfo.nowPage * body.pageInfo.pageShow - body.pageInfo.pageShow;
            const end = start + body.pageInfo.pageShow;
            let data = {
                return_code: 0,
                list: [...memberTableList].slice(start, end),
                pageInfo: {
                    nowPage: 1, // 当前页数
                    pageShow: body.pageInfo.pageShow, // 每页显示条数
                    totalPage: count / body.pageInfo.pageShow, // 总页数
                    totalNum: count // 总条数
                }
            }
            if (body.pageInfo.nowPage) {
                return {
                    code: 0,
                    msg: '获取数据成功',
                    data: data
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    },
    {
        path: '/api/delMemberInfo',
        method: 'get',
        handle ({ body }) {
            if (body.uuid) {
                return {
                    code: 0,
                    msg: '删除数据成功',
                    data: {
                        return_code: 0
                    }
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    },
    {
        path: '/api/getSignatureList',
        method: 'get',
        handle ({ body }) {
            const start = body.pageInfo.nowPage * body.pageInfo.pageShow - body.pageInfo.pageShow;
            const end = start + body.pageInfo.pageShow;
            let data = {
                return_code: 0,
                list: [...signatureList].slice(start, end),
                pageInfo: {
                    nowPage: 1, // 当前页数
                    pageShow: body.pageInfo.pageShow, // 每页显示条数
                    totalPage: count / body.pageInfo.pageShow, // 总页数
                    totalNum: count // 总条数
                }
            }
            if (body.pageInfo.nowPage) {
                return {
                    code: 0,
                    msg: '获取数据成功',
                    data: data
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    },
    {
        path: '/api/getImgOrTxtList',
        method: 'get',
        handle ({ body }) {
            const start = body.pageInfo.nowPage * body.pageInfo.pageShow - body.pageInfo.pageShow;
            const end = start + body.pageInfo.pageShow;
            let data = {
                return_code: 0,
                list: [...imgOrTxtList].slice(start, end),
                pageInfo: {
                    nowPage: 1, // 当前页数
                    pageShow: body.pageInfo.pageShow, // 每页显示条数
                    totalPage: count / body.pageInfo.pageShow, // 总页数
                    totalNum: count // 总条数
                }
            }
            if (body.pageInfo.nowPage) {
                return {
                    code: 0,
                    msg: '获取数据成功',
                    data: data
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    }, {
        path: '/api/getImageTextList',
        method: 'get',
        handle ({ body }) {
            const start = body.pageInfo.nowPage * body.pageInfo.pageShow - body.pageInfo.pageShow;
            const end = start + body.pageInfo.pageShow;
            let data = {
                return_code: 0,
                list: [...memberTableList].slice(start, end),
                pageInfo: {
                    nowPage: 1, // 当前页数
                    pageShow: body.pageInfo.pageShow, // 每页显示条数
                    totalPage: count / body.pageInfo.pageShow, // 总页数
                    totalNum: count // 总条数
                }
            }
            if (body.pageInfo.nowPage) {
                return {
                    code: 0,
                    msg: '获取数据成功',
                    data: data
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    },
    {
        path: '/api/getVideoList',
        method: 'get',
        handle ({ body }) {
            const start = body.pageInfo.nowPage * body.pageInfo.pageShow - body.pageInfo.pageShow;
            const end = start + body.pageInfo.pageShow;
            let data = {
                return_code: 0,
                list: [...imgOrTxtList].slice(start, end),
                pageInfo: {
                    nowPage: 1, // 当前页数
                    pageShow: body.pageInfo.pageShow, // 每页显示条数
                    totalPage: count / body.pageInfo.pageShow, // 总页数
                    totalNum: count // 总条数
                }
            }
            if (body.pageInfo.nowPage) {
                return {
                    code: 0,
                    msg: '获取数据成功',
                    data: data
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    }, {
        path: '/api/getAdvertisingPositionList',
        method: 'get',
        handle ({ body }) {
            const start = body.pageInfo.nowPage * body.pageInfo.pageShow - body.pageInfo.pageShow;
            const end = start + body.pageInfo.pageShow;
            let data = {
                return_code: 0,
                list: [...advertisingPositionList].slice(start, end),
                pageInfo: {
                    nowPage: 1, // 当前页数
                    pageShow: body.pageInfo.pageShow, // 每页显示条数
                    totalPage: count / body.pageInfo.pageShow, // 总页数
                    totalNum: count // 总条数
                }
            }
            if (body.pageInfo.nowPage) {
                return {
                    code: 0,
                    msg: '获取数据成功',
                    data: data
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    },
    {
        path: '/api/getAdvertisingLaunchDateList',
        method: 'get',
        handle ({ body }) {
            const start = body.pageInfo.nowPage * body.pageInfo.pageShow - body.pageInfo.pageShow;
            const end = start + body.pageInfo.pageShow;
            let data = {
                return_code: 0,
                list: [...advertisingLaunchDateList].slice(start, end),
                pageInfo: {
                    nowPage: 1, // 当前页数
                    pageShow: body.pageInfo.pageShow, // 每页显示条数
                    totalPage: count / body.pageInfo.pageShow, // 总页数
                    totalNum: count // 总条数
                }
            }
            if (body.pageInfo.nowPage) {
                return {
                    code: 0,
                    msg: '获取数据成功',
                    data: data
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    },{
        path: '/api/getAdvertisingPosition',
        method: 'get',
        handle ({ body }) {
            if (body.uuid) {
                let memberInfo = {};
                for (let i = 0; i < advertisingPositionList.length; i++) {
                    if (Number(body.uuid) === advertisingPositionList[i].uuid) {
                        memberInfo = advertisingPositionList[i];
                        break;
                    }
                }
                return {
                    code: 0,
                    msg: '',
                    data: {
                        data: memberInfo,
                        return_code: 0
                    }
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    },
    {
        path: '/api/addAdvertisingPosition',
        method: 'get',
        handle ({ body }) {
            if (body.userName) {
                advertisingPositionList.unshift(body.formData);
                return {
                    code: 0,
                    msg: '',
                    data: {
                        return_code: 0
                    }
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    }, {
        path: '/api/getPlatformAdvertisementList',
        method: 'get',
        handle ({ body }) {
            const start = body.pageInfo.nowPage * body.pageInfo.pageShow - body.pageInfo.pageShow;
            const end = start + body.pageInfo.pageShow;
            let data = {
                return_code: 0,
                list: [...advertisingPositionList].slice(start, end),
                pageInfo: {
                    nowPage: 1, // 当前页数
                    pageShow: body.pageInfo.pageShow, // 每页显示条数
                    totalPage: count / body.pageInfo.pageShow, // 总页数
                    totalNum: count // 总条数
                }
            }
            if (body.pageInfo.nowPage) {
                return {
                    code: 0,
                    msg: '获取数据成功',
                    data: data
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    }, {
        path: '/api/getPlatformAdvertisement',
        method: 'get',
        handle ({ body }) {
            if (body.uuid) {
                let memberInfo = {};
                for (let i = 0; i < advertisingPositionList.length; i++) {
                    if (Number(body.uuid) === advertisingPositionList[i].uuid) {
                        memberInfo = advertisingPositionList[i];
                        break;
                    }
                }
                return {
                    code: 0,
                    msg: '',
                    data: {
                        data: memberInfo,
                        return_code: 0
                    }
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    },
    {
        path: '/api/addPlatformAdvertisement',
        method: 'get',
        handle ({ body }) {
            if (body.userName) {
                advertisingPositionList.unshift(body.formData);
                return {
                    code: 0,
                    msg: '',
                    data: {
                        return_code: 0
                    }
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    }, {
        path: '/api/getMerchantAdvertisementList',
        method: 'get',
        handle ({ body }) {
            const start = body.pageInfo.nowPage * body.pageInfo.pageShow - body.pageInfo.pageShow;
            const end = start + body.pageInfo.pageShow;
            let data = {
                return_code: 0,
                list: [...merchantAdvertisementList].slice(start, end),
                pageInfo: {
                    nowPage: 1, // 当前页数
                    pageShow: body.pageInfo.pageShow, // 每页显示条数
                    totalPage: count / body.pageInfo.pageShow, // 总页数
                    totalNum: count // 总条数
                }
            }
            if (body.pageInfo.nowPage) {
                return {
                    code: 0,
                    msg: '获取数据成功',
                    data: data
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    }, {
        path: '/api/getOrderList',
        method: 'get',
        handle ({ body }) {
            const start = body.pageInfo.nowPage * body.pageInfo.pageShow - body.pageInfo.pageShow;
            const end = start + body.pageInfo.pageShow;
            let data = {
                return_code: 0,
                list: [...advertisingPositionOrderList].slice(start, end),
                pageInfo: {
                    nowPage: 1, // 当前页数
                    pageShow: body.pageInfo.pageShow, // 每页显示条数
                    totalPage: count / body.pageInfo.pageShow, // 总页数
                    totalNum: count // 总条数
                }
            }
            if (body.pageInfo.nowPage) {
                return {
                    code: 0,
                    msg: '获取数据成功',
                    data: data
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    }, {
        path: '/api/getOrderByUuid',
        method: 'get',
        handle ({ body }) {
            if (body.uuid) {
                let memberInfo = {};
                for (let i = 0; i < advertisingPositionOrderList.length; i++) {
                    if (Number(body.uuid) === advertisingPositionOrderList[i].uuid) {
                        memberInfo = advertisingPositionOrderList[i];
                        break;
                    }
                }
                return {
                    code: 0,
                    msg: '',
                    data: {
                        data: memberInfo,
                        return_code: 0
                    }
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    },
    {
        path: '/api/getMsgTempLateList',
        method: 'get',
        handle ({ body }) {
            const start = body.pageInfo.nowPage * body.pageInfo.pageShow - body.pageInfo.pageShow;
            const end = start + body.pageInfo.pageShow;
            let data = {
                return_code: 0,
                list: [...msgTempLateList].slice(start, end),
                pageInfo: {
                    nowPage: 1, // 当前页数
                    pageShow: body.pageInfo.pageShow, // 每页显示条数
                    totalPage: count / body.pageInfo.pageShow, // 总页数
                    totalNum: count // 总条数
                }
            }
            if (body.pageInfo.nowPage) {
                return {
                    code: 0,
                    msg: '获取数据成功',
                    data: data
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    },
    {
        path: '/api/addMsgTempLate',
        method: 'get',
        handle ({ body }) {
            if (body.userName) {
                msgTempLateList.unshift(body.formData);
                return {
                    code: 0,
                    msg: '',
                    data: {
                        return_code: 0
                    }
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    }, {
        path: '/api/getMsgTempLate',
        method: 'get',
        handle ({ body }) {
            if (body.uuid) {
                let memberInfo = {};
                for (let i = 0; i < msgTempLateList.length; i++) {
                    if (Number(body.uuid) === msgTempLateList[i].uuid) {
                        memberInfo = msgTempLateList[i];
                        break;
                    }
                }
                return {
                    code: 0,
                    msg: '',
                    data: {
                        data: memberInfo,
                        return_code: 0
                    }
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    }, {
        path: '/api/getMailboxService',
        method: 'get',
        handle ({ body }) {
            return {
                code: 0,
                msg: '',
                data: {
                    data: {
                        'service': 'https://qwang1.yuque.com/undnp3/tvxwpn/ahw10g',
                        'userNo': 'ceshi',
                        'pwd': '123456',
                        'rPwd': '123456',
                        'email': 'email@126.com',
                        'emauserNameil': 'ceshi'
                    },
                    return_code: 0
                }
            }
        }
    }, {
        path: '/api/getSmsService',
        method: 'get',
        handle ({ body }) {
            return {
                code: 0,
                msg: '',
                data: {
                    data: {
                        'service': 'https://qwang1.yuque.com/undnp3/tvxwpn/ahw10g',
                        'userNo': 'ceshi',
                        'pwd': '123456',
                        'rPwd': '123456',
                        'Id': '111111'
                    },
                    return_code: 0
                }
            }
        }
    }, {
        path: '/api/getImService',
        method: 'get',
        handle ({ body }) {
            return {
                code: 0,
                msg: '',
                data: {
                    data: {
                        'appKey': 'https://qwang1.yuque.com/undnp3/tvxwpn/ahw10g',
                        'sid': 'ceshi',
                        'token': '123456',
                        'appID': '123456'
                    },
                    return_code: 0
                }
            }
        }
    },
    {
        path: '/api/toProhibit',
        method: 'get',
        handle ({ body }) {
            if (body.uuid) {
                return {
                    code: 0,
                    msg: '',
                    data: {
                        return_code: 0
                    }
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    },
    {
        path: '/api/putInAgree',
        method: 'get',
        handle ({ body }) {
            if (body.uuid) {
                return {
                    code: 0,
                    msg: '',
                    data: {
                        return_code: 0
                    }
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    },
    {
        path: '/api/settingAgree',
        method: 'get',
        handle ({ body }) {
            if (body.uuid) {
                return {
                    code: 0,
                    msg: '',
                    data: {
                        return_code: 0
                    }
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    },
    {
        path: '/api/merchantSignAuditSubit',
        method: 'get',
        handle ({ body }) {
            if (body.uuid) {
                return {
                    code: 0,
                    msg: '',
                    data: {
                        return_code: 0
                    }
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    },
    {
        path: '/api/merchantAdvertisementShowAudit',
        method: 'get',
        handle ({ body }) {
            if (body.uuid) {
                return {
                    code: 0,
                    msg: '',
                    data: {
                        return_code: 0
                    }
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    },
    {
        path: '/api/getDetail',
        method: 'get',
        handle ({ body }) {
            if (body.uuid) {
                return {
                    code: 0,
                    msg: '',
                    data: {
                        data: Details,
                        return_code: 0
                    }
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    },{
        path: '/api/getVideoDetail',
        method: 'get',
        handle ({ body }) {
            if (body.uuid) {
                return {
                    code: 0,
                    msg: '请求成功',
                    data: {
                        data: DetailsVideo,
                        return_code: 0
                    }
                }
            } else {
                return {
                    code: 401,
                    msg: '接口请求超时',
                    data: {}
                }
            }
        }
    }



]
